package org.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@SpringBootApplication
@EnableEurekaClient  // 本服务启动后好自动进行注册到 Eureka 服务
@EnableDiscoveryClient // 开启负载均衡
@EnableHystrix // 开启 Hystrix 熔断器支持
public class Provider_Hystrix_8004 {
    public static void main(String[] args) {
        SpringApplication.run(Provider_Hystrix_8004.class, args);
    }
}
